package iliasTests;

import java.awt.Point;

public class MeinPunkt
{

    public static void main(String[] args)
    {
        Point p1 = new Point();
        Point p2 = p1;
        p1.x = 15;
        System.out.println(p2.x);
        p2.y = 8;
        System.out.println(p1.y);
        System.out.println(p1 == p2);

        Point p3 = new Point();
        p3.x = 15;
        p3.y = 8;
        System.out.println(p3 == p2);

        int i = 2;
        int j = i;
        System.out.println(j);
        j = 3;
        System.out.println(i + "." + j);
    }
}